package my.rest.resources.dao;

import java.util.HashMap;
import java.util.Map;

import my.rest.resources.model.VehicleModelInfo;

public enum VehicleModelInfoDao {

	instance;

	private Map<String, VehicleModelInfo> contentProvider = new HashMap<String, VehicleModelInfo>();

	private VehicleModelInfoDao() {

		VehicleModelInfo info = new VehicleModelInfo();
		info.setModel("BMW M3 Coupe");
		info.setInfo("A four-litre, V8 high-rev engine with an output of 414 bhp. An incredibly light carbon-fibre roof. Unequalled M GmbH chassis and brakes. In short: The Soul of Formula M - reloaded.");
		contentProvider.put("BMW M3 Coupe", info);
		info = new VehicleModelInfo();
		info.setModel("BMW M3 Convertible");
		info.setInfo("A four-litre, V8 high-rev engine with an output of 420 hp and a retractable hardtop. The BMW M3 Convertible: blue sky above, racetrack beneath.");
		contentProvider.put("BMW M3 Convertible", info);

	}

	public Map<String, VehicleModelInfo> getInfo() {
		return contentProvider;
	}

}
